//
//  RoomList.swift
//  StudyDY
//
//  Created by yinchangming on 2018/7/5.
//  Copyright © 2018年 yinchangming. All rights reserved.
//

import UIKit

class RoomList: NSObject {
    //房间照片
    @objc var  vertical_src=""   // :    https://rpic.douyucdn.cn/asrpic/180705/4496475_1357.jpg
    @objc var    owner_uid = 0
    @objc var  nickname = ""
    //开播时间
    @objc var      game_name:String?{
        didSet{
            if(game_name == nil || game_name == ""){
                return 
            }
            room_name=game_name!
        }
    }
    //开播时间
    @objc var     online = 0
    
    //开播时间
    @objc var     room_name = ""
    //开播时间
    @objc var     room_id = 0
    //开播时间
    @objc var    show_time = 0
    //直播设备 0pc 1手机
    @objc var  isVertical  = 0
    //直播所在城市
    @objc var anchor_city=""
    init(dict :[String:Any]) {
        super.init()
        setValuesForKeys(dict)
    }
    //重新该方法主要防止 多的key导致崩溃
    override func setValue(_ value: Any?, forUndefinedKey key: String) {
        
    }
}
